Skip to content

Add release version check workflow#156

Merged
gafferongames merged 1 commit into
mainfrom
add-release-check
Jul 10, 2026
Merged

Add release version check workflow#156
gafferongames merged 1 commit into
mainfrom
add-release-check

Conversation

@gafferongames

Copy link
Copy Markdown
Contributor

Adds a small Release Check workflow that fails the tag build if a release tag (vX.Y.Z) does not match the version recorded in the repo, so a release cannot ship with stale version metadata. Motivated by netcode v1.3.2, which shipped with its CMake project() version still at 1.3.1 and needed a follow-up v1.3.3 release to fix.

Where the repo records the version in more than one place, the workflow also cross-checks them on every push and pull request, so drift is caught at PR time rather than release time. Verified locally against the current tree: matching tag passes, mismatched tag fails, non-tag refs run only the consistency checks.

🤖 Generated with Claude Code

Fails the tag build if a release tag does not match the version
recorded in the repo, so a release can't ship with stale version
metadata (as netcode v1.3.2 did with its CMake project version).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gafferongames gafferongames merged commit 5982c48 into main Jul 10, 2026
12 checks passed
@gafferongames gafferongames deleted the add-release-check branch July 10, 2026 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant